package com.xk;

import com.xk.page.service.PageService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.io.FileNotFoundException;

@RunWith(SpringRunner.class)
@SpringBootTest
public class CreateHtml {
    /**
     * 生成静态化页面
     */
    @Autowired
    private PageService pageService;
    @Test
    public void run1() throws FileNotFoundException {

        pageService.createHtml(261L);

    }
}
